//
// Created by Symps on 2025/9/14.
//

#include "../../include/Stack.h"

void test1() {
    Stack<int> s;
    s.push(1);
    s.push(2);
    s.push(3);
    s.push(4);
    s.push(5);
    cout << s << endl;
    s.pop();
    cout << s << endl;
    cout << s.size() << endl;
    cout << s.top() << endl;
    cout << s << endl;
    cout << s.pop() << endl;
    cout << s << endl;
    cout << s.empty() << endl;
    s.clear();
    cout << s.empty() << endl;
}

int main() {
    test1();
    return 0;
}
